﻿using System.Runtime.Serialization;

namespace TripLOA.WebService.Serializable
{
    /// <summary>
    /// Class that represents a WebService serializable integer
    /// </summary>
    [DataContract]
    public class WSInt : WSObject
    {
        #region Constructors
        /// <summary>
        /// Parameterless Costructor. Set status to "fail"
        /// </summary>
        public WSInt()
        {
            this.Status = "fail";
        }
        #endregion

        #region Properties

        /// <summary>
        /// Payload contains a integer
        /// </summary>
        [DataMember]
        public int Payload { get; set; }
        #endregion
    }
}
